﻿using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;
using System.Collections.Generic;

namespace PhoneUI.Com
{
    /// <summary>
    /// 获取客户相关订单请求类
    /// </summary>
    public sealed class GetCusSaletasksRequest : ILJTokenRequest<GetCusSaletasksResponse>
    {
        /// <summary>
        /// 用户身份标识
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        public int cusid { get; set; }
        /// <summary>
        /// 是否带明细,默认不带
        /// </summary>
        public bool withMx { get; set; }

        public string GetApiName()
        {
            return "GetCusSaletasks";
        }
    }

    /// <summary>
    /// 获取客户相关订单返回类
    /// </summary>
    public sealed class GetCusSaletasksResponse : LJResponse
    {
        public List<SaleTaskForCusWithMx> tasks { get; set; }
    }
}